package com.atguigu.common.exception;

public enum BizCodeEnum {
    VALID_EXCEPTION(10001,"参数格式校验失败"),
    UNKNOW_EXCEPTION(10000,"系统未知异常");

    private int code;
    private String ms;

    BizCodeEnum(int code, String ms) {
        this.code = code;
        this.ms = ms;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMs() {
        return ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }
}
